import React, {useState} from 'react';
import {Button, Modal} from 'antd';

export const ObjectPropertiesDialog = () => {
  const [open, setOpen] = useState(true);
  const [confirmLoading, setConfirmLoading] = useState(false);
  const [modalText, setModalText] = useState('Content of the modal');

  const showModal = () => {
    setOpen(true);
  };


  const handleOk = () => {
    setModalText('The modal will be closed after two seconds');
    setConfirmLoading(true);
  };

  const handleCancel = () => {
    console.log('Clicked cancel button');
    setOpen(false);
  };
  return (
    // <Modal
    //   title="Title"
    //   open={open}
    //   onOk={handleOk}
    //   confirmLoading={confirmLoading}
    //   onCancel={handleCancel}
    // >
    // </Modal>
    <>
      <button>dialog</button>
    </>
  )
}
